<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <div ng-app="App">
        <!-- 指定控制器 -->
        <div ng-controller="DemoContoller">
            <h1>{{name}}在{{school}}学习使用AngularJS</h1>
            <ul>
                <li ng-repeat="(key, course) in courses">第{{key+1}}天：{{course}}</li>
            </ul>
        </div>
    </div>

    <script src="AngularJsDir/angular.min.js"></script>
    <script>
        var App = angular.module('App',[]);
        App.controller('DemoContoller',['$scope',function ($scope) {
            $scope.name = 'lwh';
            $scope.school = '哈哈';

            $scope.courses = [
                'woshi1',
                'woshi2',
                'woshi3'
            ]
        }]);
    </script>
</body>
</html>